package com.dabai.iot.core.convert;

import com.dabai.iot.core.dto.ThingModelBlockInput;
import com.dabai.iot.core.entity.ThingModelBlockEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 物模型功能模块 Convert
 *
 * @author kev1n
 */
@Mapper
public interface ThingModelBlockConvert {

    ThingModelBlockConvert INSTANCE = Mappers.getMapper(ThingModelBlockConvert.class);

    ThingModelBlockEntity convert(ThingModelBlockInput input);

//    ThingModelBlockVO convertVO(ThingModelBlockEntity block);
}
